package ro.myApp.client;

import java.io.Serializable;

import ro.myApp.commons.dto.BaseDtoMessage;

public abstract class BaseView implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -739733207951544325L;

	@SuppressWarnings("unchecked")
	public <E> E sendMessage(BaseDtoMessage msg) {
		return (E)SessionController.instance().sendMessage(msg);
	}
}
